<?php
require_once("./DButil.php");
// 查课程
$sql="select courseid,coursename,status from t_course";
$arr=query($sql);

header("Content-Type:application/json;charset=utf-8");
echo json_encode($arr);


?>